import { Global, Module } from "@nestjs/common";
import { PermissionService } from './permission.service';
import { PermissionController } from './permission.controller';
import { TypeOrmModule } from "@nestjs/typeorm";
import { Permission } from "@/modules/permission/entities/permission.entity";
import { Role } from "@/modules/role/entities/role.entity";
import { UserService } from "@/modules/user/user.service";
import { UserModule } from "@/modules/user/user.module";
@Global()
@Module({
  imports: [TypeOrmModule.forFeature([Permission, Role])],
  controllers: [PermissionController],
  providers: [PermissionService],
  exports: [PermissionService],
})
export class PermissionModule {}
